package cn.topevery.garden.entity.po;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.math.BigDecimal;
import org.locationtech.jts.geom.Geometry;
import lombok.Data;
import cn.topevery.garden.entity.serializer.GeometrySerializer;

/**
 * 
 */
@Data
@DbTable(tableName = "t_bulletin")
public class Bulletin extends BaseEntity {
        /**
     * UUID
     */
    @DbTableField(columnName = "c_bulletin_id", dbType = DbTypeEnum.VARCHAR)
    public String bulletinId ;

    /**
     * 标题
     */
    @DbTableField(columnName = "c_title", dbType = DbTypeEnum.VARCHAR)
    public String title ;

    /**
     * 内容
     */
    @DbTableField(columnName = "c_body", dbType = DbTypeEnum.VARCHAR)
    public String body ;

    /**
     * 日期
     */
    @DbTableField(columnName = "c_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime date ;

    /**
     * 级别
     */
    @DbTableField(columnName = "c_level", dbType = DbTypeEnum.INTEGER)
    public Integer level ;

    /**
     * 备注
     */
    @DbTableField(columnName = "c_remark", dbType = DbTypeEnum.VARCHAR)
    public String remark ;

    /**
     * 排序号
     */
    @DbTableField(columnName = "c_order_num", dbType = DbTypeEnum.INTEGER)
    public Integer orderNum  = 0 ;

    @DbTableField(columnName = "c_user_name", dbType = DbTypeEnum.VARCHAR)
    private String userName;
}
